package property.pojo;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Notice {
    private Integer nId;

    private Date nPublishDate;

    private String nTitle;

    private String nContent;

    private String nAttachments;

    private Byte nTarget;

    private Byte nGrade;

    private Byte nStatus;

    private String nCategory;

    private String nTag;

    private Integer nAdminId;

    public Integer getnId() {
        return nId;
    }

    public void setnId(Integer nId) {
        this.nId = nId;
    }

    public Date getnPublishDate() {
        return nPublishDate;
    }

    public void setnPublishDate(Date nPublishDate) {
        this.nPublishDate = nPublishDate;
    }

    public String getnTitle() {
        return nTitle;
    }

    public void setnTitle(String nTitle) {
        this.nTitle = nTitle == null ? null : nTitle.trim();
    }

    public String getnContent() {
        return nContent;
    }

    public void setnContent(String nContent) {
        this.nContent = nContent == null ? null : nContent.trim();
    }

    public String getnAttachments() {
        return nAttachments;
    }

    public void setnAttachments(String nAttachments) {
        this.nAttachments = nAttachments == null ? null : nAttachments.trim();
    }

    public Byte getnTarget() {
        return nTarget;
    }

    public void setnTarget(Byte nTarget) {
        this.nTarget = nTarget;
    }

    public Byte getnGrade() {
        return nGrade;
    }

    public void setnGrade(Byte nGrade) {
        this.nGrade = nGrade;
    }

    public Byte getnStatus() {
        return nStatus;
    }

    public void setnStatus(Byte nStatus) {
        this.nStatus = nStatus;
    }

    public String getnCategory() {
        return nCategory;
    }

    public void setnCategory(String nCategory) {
        this.nCategory = nCategory == null ? null : nCategory.trim();
    }

    public String getnTag() {
        return nTag;
    }

    public void setnTag(String nTag) {
        this.nTag = nTag == null ? null : nTag.trim();
    }

    public Integer getnAdminId() {
        return nAdminId;
    }

    public void setnAdminId(Integer nAdminId) {
        this.nAdminId = nAdminId;
    }
}